package com.gsi.webstore.platform.storefront.internal.calculation;

import com.gsi.webstore.platform.storefront.internal.order.GSIGrossBasedCalculationResultView_V2;
import com.intershop.sellside.appbase.b2c.capi.calculation.BaseCalculationResultView;
import com.intershop.sellside.appbase.b2c.capi.calculation.CalculationResultViewFactory;
import com.intershop.sellside.appbase.b2c.capi.calculation.LineItemCtnrCalculationResultView;

/**
 *@see GSI_CalculationResultViewFactory
 */
public class GSIGrossBasedCalculationResultView_V2FactoryImpl implements CalculationResultViewFactory
{
    /**
     * @see GSI_CalculationResultViewFactory#createCalculationResultView(BaseCalculationResultView, String)
     * @return GSIGrossBasedCalculationResultView_V2
     */
    @Override
    public LineItemCtnrCalculationResultView createCalculationResultView( BaseCalculationResultView delegate)
    {
        return new GSIGrossBasedCalculationResultView_V2(delegate);
    }

}
